export interface IconDictType {
  [key: string]: JSX.Element;
}
export const IconDict: IconDictType = {
  r: (
    <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
      <path
        d="M319.9337 64C249.3337 64 191.9337 121.4 191.9337 192v704c0 35.4 28.6 64 64 64s64-28.6 64-64V640h190.6l205 292.8c20.2 29 60.2 36 89.2 15.8s36-60.2 15.8-89.2l-168.4-240.4C757.5337 576.2 831.9337 472.8 831.9337 352c0-159-129-288-288-288H319.9337z m224 448H319.9337V192h224c88.4 0 160 71.6 160 160s-71.6 160-160 160z"
        fill="currentColor"
      ></path>
    </svg>
  ),
  "button-loading": (
    <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
      <path
        fill="currentColor"
        d="M512 64c247.2 0 448 200.8 448 448h-64c0-212-172-384-384-384V64z m0 832c-212 0-384-172-384-384H64c0 247.2 200.8 448 448 448v-64z"
      ></path>
    </svg>
  ),
  "button-search": (
    <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
      <path
        d="M338.9 669.8c-8.4-2.8-17.5 1.7-20.3 10-2.8 8.4 1.7 17.5 10 20.3 18.6 6.3 38 10.8 57.6 13.2 5.1 0.6 9.9-1.2 13.3-4.6 2.4-2.4 4.1-5.6 4.6-9.3 1.1-8.8-5.1-16.8-13.9-17.9-17.4-2.1-34.7-6.1-51.3-11.7z"
        fill="currentColor"
      ></path>
      <path
        d="M423.1 127.6c-78.5 0-152.4 30.6-207.9 86.1s-86.1 129.4-86.1 207.9 30.6 152.4 86.1 207.9c11.6 11.6 24.2 22.3 37.5 31.8 7.2 5.1 17.2 3.5 22.3-3.7 5.1-7.2 3.5-17.2-3.7-22.3-11.8-8.4-23.1-18-33.5-28.3-102.2-102.2-102.2-268.4 0-370.5 102.2-102.2 268.4-102.2 370.5 0 102.2 102.2 102.2 268.4 0 370.5-42 42-95.4 68-154.3 74.9-8.8 1-15.1 9-14 17.8 1 8.8 9 15 17.8 14 32.1-3.8 63.1-12.8 92.1-26.6 25.3-12.1 48.5-27.7 69.4-46.4L790 811.4c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L642 617.9c48.5-54 75.1-123.1 75.1-196.3 0-78.5-30.6-152.4-86.1-207.9s-129.3-86.1-207.9-86.1z"
        fill="currentColor"
      ></path>
    </svg>
  ),
  "timeline-success": (
    <svg
      viewBox="0 0 1024 1024"
      preserveAspectRatio="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="m717.69599,459.06557l-234.15466,255.98452a42.53867,42.53609 0 0 1 -31.488,13.86583l-0.256,0a42.66667,42.66409 0 0 1 -31.57333,-14.24981l-114.304,-127.99226a42.66667,42.66409 0 1 1 63.65866,-56.82856l82.85866,92.79439l202.28266,-221.17063a42.66667,42.66409 0 1 1 62.976,57.59652m-205.65333,-459.06557c-282.41066,0.04266 -512.04265,229.78877 -512.04265,512.01171c0,282.35093 229.63199,511.96904 511.99999,511.96904c282.23999,0 511.99999,-229.61812 511.99999,-511.96904c0,-282.22293 -229.75999,-511.96904 -511.99999,-511.96904"
        fill="currentColor"
        stroke="null"
      />
    </svg>
  ),
  "timeline-error": (
    <svg
      viewBox="0 0 1024 1024"
      preserveAspectRatio="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        stroke="null"
        fill="currentColor"
        d="m512.02388,0.04765c282.76141,0 511.97614,229.21474 511.97614,511.97617s-229.21473,511.97617 -511.97614,511.97617s-511.97614,-229.21474 -511.97614,-511.97617s229.21473,-511.97617 511.97614,-511.97617zm159.70644,288.36305l-159.67632,159.70645l-159.73655,-159.70645l-63.90667,63.90667l159.73655,159.67633l-159.73655,159.73656l63.90667,63.90667l159.70644,-159.76668l159.70644,159.73656l63.90667,-63.90667l-159.76667,-159.67633l159.73655,-159.70645l-63.90667,-63.90667l0.03012,0z"
      />
    </svg>
  ),
  "timeline-warning": (
    <svg
      viewBox="0 0 1024 1024"
      preserveAspectRatio="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        fill="currentColor"
        d="m512,0.06366a512.19102,512.19102 0 0 0 -512,511.93633a512.25469,512.25469 0 0 0 512,512a512.25469,512.25469 0 0 0 512,-512a512.19102,512.19102 0 0 0 -512,-511.93633zm42.27932,810.24748l-105.76197,0l0,-127.02897l106.78075,0l0,127.02898l-1.01878,0l0,-0.00001zm0,-212.73373l-105.76197,0l0,-405.02824l106.78075,0l0,405.02824l-1.01878,0z"
      />
    </svg>
  ),
};
